import Vue from 'vue'
import { createPinia } from "pinia"
import Vuex from 'vuex'
import userVuexStore from "@/store/modules/vuex/user"

export function setupVuexStore() {
  Vue.use(Vuex)
  return new Vuex.Store({
    modules: {
      userVuexStore,
    }
  })
}

const piniaStore = createPinia()
export function setupPiniaStore() {
  Vue.use(piniaStore)
}
export { piniaStore }



